<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="Responsive Web UI Kit &amp; Dashboard Template based on Bootstrap">
    <meta name="author" content="AdminKit">
    <meta name="keywords" content="adminkit, bootstrap, web ui kit, dashboard template, admin template">
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/img/icons/icon-48x48.png"/>
    <title>AdminKit</title>
    <link href="${pageContext.request.contextPath}/css/app.css" rel="stylesheet">
</head>

<body>

<div class="wrapper">
    <%@include file="../icn/sidebar.jsp" %>
    <div class="main">
        <%@include file="../icn/head.jsp" %>
        <main>
            <div class="container">
                <div class="row">
                    <div class="col-md-4 offset-3">
                        <div class="panel-heading" style="font-size: 20px;text-align: center;padding-top: 20px;font-weight: bold;color: #0b7ec4" >
                            添加事项负责人
                        </div>
                        <form action="save" method="post" enctype="multipart/form-data">
                            <div class="form-group">
                                <label class="form-label">审批事项名称</label>
                                <select  name="item.id" style="height:30px;width:200px"  >
                                    <c:forEach var="var" items="${itemUser}">
                                        <option value="${var.id}">${var.name}</option>
                                    </c:forEach>
                                </select>
                            </div>
                            <div class="form-group">
                                <label class="form-label">联系电话</label>
                                <input type="text" class="form-control" name="telephone">
                            </div>
                            <div class="form-group">
                                <label class="form-label">职   责</label>
                                <textarea class="form-control" placeholder="干什么的？情况咋样..................." rows="3" name="duty"></textarea>
                            </div>
                            <div class="form-group">
                                <label class="form-label">职   位</label>
                                <select  name="position" style="height:30px;width:200px"  >
                                    <option value="处长">处长</option>
                                    <option value="副处长">副处长</option>
                                    <option value="攻坚小组">攻坚小组</option>
                                </select>
                            </div>
                            <div class="form-group">
                                <label class="form-label">工作人员头像</label>
                                <input type="file" name="file">
                            </div>
                            <div class="form-group">
                                <label class="form-label">工作人员姓名</label>
                                <input type="text" class="form-control" name="name">
                            </div>
                            <button type="submit" class="btn btn-primary">提交</button><a type="button" class="btn btn-primary" href="${pageContext.request.contextPath}/system/item/item">取消</a>
                        </form>
                        </div>
                    </div>
                </div>
        </main>
    </div>
</div>
<script src="${pageContext.request.contextPath}/js/app.js"></script>
</body>
</html>

